package com.view.stateview;

import android.graphics.Bitmap;

import androidx.annotation.ColorInt;
import androidx.annotation.ColorRes;
import androidx.annotation.DrawableRes;
import androidx.annotation.StringRes;

/**
 * @author Li Xiaopeng
 * @date 2019/1/3
 */
public interface IStatusView {

    void setImageRes(int imageRes);
    void setImageBitmap(Bitmap bmp);

    void setTitleStr(String title);
    void setTitleRes(@StringRes int titleRes);
    void setTitleTextColor(@ColorInt int color);
    void setTitleTextColorRes(@ColorRes int colorRes);
    void setTitleTextSize(int size);

    void setContentStr(String content);
    void setContentRes(@StringRes int contentRes);
    void setContentTextColor(@ColorInt int color);
    void setContentTextColorRes(@ColorRes int colorRes);
    void setContentTextSize(int size);

    void setButtonText(String btnText);
    void setButtonTextRes(@StringRes int btnTextRes);
    void setButtonShapeRes(@DrawableRes int shapeRes);
    void setButtonTextSize(int size);
    void setButtonBackgroundColor(@ColorInt int color);
    void setButtonBackgroundColorRes(@ColorRes int colorRes);
    void setButtonTextColor(@ColorInt int color);

    void setStatus(@StatusView.Status int status);
}
